<%--
  Created by IntelliJ IDEA.
  User: zhanzhongxin
  Date: 2021/8/10
  Time: 13:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<a href="${pageContext.request.contextPath}/up">下载文件</a>
<form action="${pageContext.request.contextPath}/up" method="post" enctype="multipart/form-data">
    <label>上传用户:</label><input type="text" name="username"/>
    <hr/>
    <label>上传文件:<input type="file" name="fl"/></label>
    <hr/>
    <button type="submit">提交</button>
</form>
</body>
</html>
